<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<head>
<title>Register</title>
<style>
.form-error-message {
	color: #900;
}

.form-error-field {
	background-color: #FFC;
}
</style>
</head>

<div id="pg_r">


<div id="joint_c1">
<div id="listline_r"><div id="line_list"><span class="bx_tit"><img src="images/icon_6.gif" align="absmiddle" style="padding:0px 5px" />Create an account</span></div></div>


<div id="listline_r"><span class="content_txt">You are here:</span> <a href="#" class="listname">Nammatv >></a> <span class="content_txt">Registration</span></div>

<form:form modelAttribute="user" action="signup.html">

<div id="nwusesr_r">
<div class="user_txt" id="nwuser_c1">First name :</div>
<div id="nwuser_c2">
		<form:input path="fname" size="40" cssErrorClass="form-error-field" />
		<div class="form-error-message"><form:errors path="fname" /></div>
</div>
</div>


<div id="nwusesr_r">
<div class="user_txt" id="nwuser_c1">Last name :</div>
<div id="nwuser_c2">
		<form:input path="lname" size="40" cssErrorClass="form-error-field" />
		<div class="form-error-message"><form:errors path="lname" /></div>
</div>
</div>


<div id="nwusesr_r">
<div class="user_txt" id="nwuser_c1">Choose a password :</div>
<div id="nwuser_c2">
		<form:password path="password" size="50" cssErrorClass="form-error-field" />
		<div class="form-error-message"><form:errors path="password" /></div>	
</div>
</div>


<div id="nwusesr_r">
<div class="user_txt" id="nwuser_c1">Re-enter password :</div>
<div id="nwuser_c2">
		<form:password path="passwordConfirmation" size="50" cssErrorClass="form-error-field" />
		<div class="form-error-message"><form:errors path="passwordConfirmation" /></div>
</div>
</div>


<div id="nwusesr_r">
<div class="user_txt" id="nwuser_c1">E-mail Id :</div>
<div id="nwuser_c2">
		<form:input path="email" size="40" cssErrorClass="form-error-field" />
		<div class="form-error-message"><form:errors path="email" /></div>
</div>
</div>

<div class="content_txt" id="nwusesr_r">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  		<form:checkbox path="acceptTerms" /> I accept the <a href="#" target="_blank"> <span class="user_txt">terms of use</span></a>.
		<div class="form-error-message"><form:errors path="acceptTerms" /></div>
</div>

<div id="nwusesr_r">
  <div align="center">
  <INPUT onclick="return validate_frm()" type=image src="images/submit.gif" width="98" height="31" border="0" > 
  </div>
</div>

<div id="nwusesr_r">
  <div align="center"><a href="#" class="bxmore">Registration FAQs</a> <span class="bxname">|</span> <a href="#" class="bxmore">Disclaimer</a> </div>
</div>
</form:form>
</div>

<div id="joint_c2">
<div id="jointc2_r">
<div id="ind_rgt">
<div id="ads_r"><img src="images/ads_1.gif" /></div>
<div id="ads_r"><img src="images/ads_3.gif" /></div>
</div>
</div>
</div>


</div>